import { ApiProperty } from '@nestjs/swagger';
export class UserInfoDto {
    @ApiProperty({
        description: '账号',
        type: String,
        example: 'test',
        required: false
      })
      account: string;
    
      @ApiProperty({
        description: '密码',
        type: String,
        example: '123456',
        required: false
      })
      password:string;
      @ApiProperty({
        description: '昵称',
        type: String,
        example: '用户',
        required: false
      })
      name:string;
      @ApiProperty({
        description: '用户id',
        type: String,
        example: '1003',
        required: true
      })
      id:string;
      @ApiProperty({
        description: '角色',
        type: String,
        example: 'user',
        required: false
      })
      role:string;
      @ApiProperty({
        description: 'AppId',
        type: String,
        example: '111',
        required: false
      })
      AppId:string;
}
